package com.mq.batch.consumer1;

import java.io.Serializable;

/**
 * 消息
 * @author ytj
 * @date 2024/1/15
 */
public class Demo5Message implements Serializable {
    public static final String EXCHANGE_NAME = "batch.demo5";
    public static final String ROUTE_KEY = "batch.demo5";
    public static final String QUEUE_NAME = "batch.demo5";
    private Integer id;

    public Demo5Message(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
